API: Make gdk_cairo_create() take a GdkWindow
authorBenjamin Otte <otte@redhat.com>
Wed, 6 Oct 2010 17:12:27 +0000 (19:12 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 2 Dec 2010 19:17:28 +0000 (20:17 +0100)
commit97e6e9d212de2cfe543872513c6956bdee6dc6e7
treee84d70c80e77ee9736445a96f7e7ed7ab41646ac
parent65dde2f92f8d2fb78688966d2258848383270877
API: Make gdk_cairo_create() take a GdkWindow

This is not strictly an API change as GdkDrawable is typedeffed to
GdkWindow, but it changes the header, so I'm marking it as such.
gdk_cairo_create() can only be used with windows these days, so it makes
sense to pass a window. With that, we can alseo remove the
set_cairo_clip() vfunc from GdkDrawable and implement it inside
gdkwindow.c.
gdk/gdkcairo.c
gdk/gdkcairo.h
gdk/gdkdrawable.h
gdk/gdkwindow.c